# encoding: utf-8
# module PyQt5.QtGui
# from /usr/lib/python3/dist-packages/PyQt5/QtGui.cpython-35m-x86_64-linux-gnu.so
# by generator 1.146
# no doc

# imports
import PyQt5.QtCore as __PyQt5_QtCore


class QImageWriter(): # skipped bases: <class 'sip.simplewrapper'>
    """
    QImageWriter()
    QImageWriter(QIODevice, QByteArray)
    QImageWriter(str, QByteArray format=QByteArray())
    """
    def canWrite(self): # real signature unknown; restored from __doc__
        """ QImageWriter.canWrite() -> bool """
        return False

    def compression(self): # real signature unknown; restored from __doc__
        """ QImageWriter.compression() -> int """
        return 0

    def device(self): # real signature unknown; restored from __doc__
        """ QImageWriter.device() -> QIODevice """
        pass

    def error(self): # real signature unknown; restored from __doc__
        """ QImageWriter.error() -> QImageWriter.ImageWriterError """
        pass

    def errorString(self): # real signature unknown; restored from __doc__
        """ QImageWriter.errorString() -> str """
        return ""

    def fileName(self): # real signature unknown; restored from __doc__
        """ QImageWriter.fileName() -> str """
        return ""

    def format(self): # real signature unknown; restored from __doc__
        """ QImageWriter.format() -> QByteArray """
        pass

    def gamma(self): # real signature unknown; restored from __doc__
        """ QImageWriter.gamma() -> float """
        return 0.0

    def optimizedWrite(self): # real signature unknown; restored from __doc__
        """ QImageWriter.optimizedWrite() -> bool """
        return False

    def progressiveScanWrite(self): # real signature unknown; restored from __doc__
        """ QImageWriter.progressiveScanWrite() -> bool """
        return False

    def quality(self): # real signature unknown; restored from __doc__
        """ QImageWriter.quality() -> int """
        return 0

    def setCompression(self, p_int): # real signature unknown; restored from __doc__
        """ QImageWriter.setCompression(int) """
        pass

    def setDevice(self, QIODevice): # real signature unknown; restored from __doc__
        """ QImageWriter.setDevice(QIODevice) """
        pass

    def setFileName(self, p_str): # real signature unknown; restored from __doc__
        """ QImageWriter.setFileName(str) """
        pass

    def setFormat(self, QByteArray): # real signature unknown; restored from __doc__
        """ QImageWriter.setFormat(QByteArray) """
        pass

    def setGamma(self, p_float): # real signature unknown; restored from __doc__
        """ QImageWriter.setGamma(float) """
        pass

    def setOptimizedWrite(self, bool): # real signature unknown; restored from __doc__
        """ QImageWriter.setOptimizedWrite(bool) """
        pass

    def setProgressiveScanWrite(self, bool): # real signature unknown; restored from __doc__
        """ QImageWriter.setProgressiveScanWrite(bool) """
        pass

    def setQuality(self, p_int): # real signature unknown; restored from __doc__
        """ QImageWriter.setQuality(int) """
        pass

    def setSubType(self, QByteArray): # real signature unknown; restored from __doc__
        """ QImageWriter.setSubType(QByteArray) """
        pass

    def setText(self, p_str, p_str_1): # real signature unknown; restored from __doc__
        """ QImageWriter.setText(str, str) """
        pass

    def setTransformation(self, QImageIOHandler_Transformations): # real signature unknown; restored from __doc__
        """ QImageWriter.setTransformation(QImageIOHandler.Transformations) """
        pass

    def subType(self): # real signature unknown; restored from __doc__
        """ QImageWriter.subType() -> QByteArray """
        pass

    def supportedImageFormats(self): # real signature unknown; restored from __doc__
        """ QImageWriter.supportedImageFormats() -> list-of-QByteArray """
        pass

    def supportedMimeTypes(self): # real signature unknown; restored from __doc__
        """ QImageWriter.supportedMimeTypes() -> list-of-QByteArray """
        pass

    def supportedSubTypes(self): # real signature unknown; restored from __doc__
        """ QImageWriter.supportedSubTypes() -> list-of-QByteArray """
        pass

    def supportsOption(self, QImageIOHandler_ImageOption): # real signature unknown; restored from __doc__
        """ QImageWriter.supportsOption(QImageIOHandler.ImageOption) -> bool """
        return False

    def transformation(self): # real signature unknown; restored from __doc__
        """ QImageWriter.transformation() -> QImageIOHandler.Transformations """
        pass

    def write(self, QImage): # real signature unknown; restored from __doc__
        """ QImageWriter.write(QImage) -> bool """
        return False

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object (if defined)"""


    DeviceError = 1
    UnknownError = 0
    UnsupportedFormatError = 2


